package com.ihr360.mail.dao;

import com.ihr360.mail.dto.MailSettingDto;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MailSettingDao extends JpaRepository<MailSettingDto, String> {

    List<MailSettingDto> findByCompanyId(String companyId);

    void deleteByCompanyId(String companyId);

}

